/**
 * @author yanhaijiang
 *
 */
package bid.yanhj.springboot.po;


/**
 * 用户
 * 
 * @author yanhaijiang
 *
 */
public class User_old {

    /**
     * id.
     */
    private Long id;
    /**
     * 姓名.
     */
    private String name;
    /**
     * 年龄
     */
    private Integer age;

    public User_old(){}

    public User_old(String name, Integer age) {
        this.name = name;
        this.age = age;
    }
    /**
     * @return the id
     */
    public Long getId() {
        return id;
    }

    /**
     * @param id
     *            the id to set
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name
     *            the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the age
     */
    public Integer getAge() {
        return age;
    }

    /**
     * @param age
     *            the age to set
     */
    public void setAge(Integer age) {
        this.age = age;
    }

    /*
     * (non-Javadoc)
     * 
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        return "User [id=" + id + ", name=" + name + ", age=" + age + "]";
    }
}